<template>
  <div>
    <div class="crumbs">
      <el-breadcrumb separator="/">
        <el-breadcrumb-item> <i class="el-icon-shopping-bag-2"></i> 分类设置 </el-breadcrumb-item>
      </el-breadcrumb>
    </div>
    <div class="container">
      <el-tabs v-model="activeName" @tab-click="handleClick">
        <el-tab-pane label="产品类型分类" name="first"></el-tab-pane>
        <el-tab-pane label="产品标签" name="label">
        </el-tab-pane>
      </el-tabs>
      <div>
        <shop-class v-if="activeName == 'first'"></shop-class>
        <product-label v-if="activeName == 'label'"></product-label>
      </div>
    </div>
  </div>
</template>

<script>
import shopClass from './classManageTemplate/shopClass';
import productLabel from './classManageTemplate/productLabel';

export default {
  data() {
    return {
      activeName: 'first'
    };
  },
  components: {
    shopClass,
    productLabel,
  },
  methods: {
    //选中标签
    handleClick(tab, event) {
    },
  }
};
</script>

<style scoped>
/deep/ :focus {
    outline: 0;
}
.handle-input {
    width: 300px;
    display: inline-block;
}
.nameDrawer {
    padding: 30px;
}
.elSelect {
    width: 100%;
}
.upload-demo {
    height: 32px;
}
.heng-border {
    height: 0.5px;
    margin-bottom: 30px;
}
</style>
